﻿
@{
    Layout = null;
}

@*<br />
    <div class="form-group">
        <label for="inputEmail3" class="col-sm-2 control-label">姓名</label>
        <div class="col-sm-4">
            <input type="email" class="form-control" id="inputEmail3" placeholder="" />
        </div>
    </div>
    <div class="form-group">
        <label for="inputPassword3" class="col-sm-2 control-label">爱好</label>
        <div class="col-sm-4">
            <select class="form-control input-sm">
                <option value="打球">打球</option>
                <option value="唱歌">唱歌</option>
                <option value="听音乐">听音乐</option>
                <option value="看电影">看电影</option>
            </select>
        </div>
    </div>
    <div class="form-group">
        <label for="inputPassword3" class="col-sm-2 control-label">地址</label>
        <div class="col-sm-4">
            <textarea class="form-control" rows="3"></textarea>
        </div>
    </div>*@

<script>
    $('#attr-tab').on('shown.bs.tab', function (e) {
        //e.target // newly activated tab
        //e.relatedTarget // previous active tab

        var guid = $("#Category").val();

        $.post("/GoodsManage/Goods/GetGoodsAttr", {
            goodsCategoryGuid: guid
        }, function (data) {
            $("#attr").html("");
            $("#attr").append("<br/>");
            $("#attr").append(data);
        });
    })
</script>